home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / include / quadP.h < prev    next >
C/C++ Source or Header  |  1992-05-15  |  1KB  |  41 lines

  1. /* Copyright (c) 1992 The Geometry Center; University of Minnesota
  2.    1300 South Second Street;  Minneapolis, MN  55454, USA;
  3.    
  4. This file is part of geomview/OOGL. geomview/OOGL is free software;
  5. you can redistribute it and/or modify it only under the terms given in
  6. the file COPYING, which you should have received along with this file.
  7. This and other related software may be obtained via anonymous ftp from
  8. geom.umn.edu; email: software@geom.umn.edu. */
  9.  
  10. /* Authors: Charlie Gunn, Stuart Levy, Tamara Munzner, Mark Phillips */
  11.  
  12. #ifndef QUADPDEFS
  13. #define QUADPDEFS
  14.  
  15. #include "geomclass.h"
  16. #include "quad.h"
  17.  
  18. #define QUAD_P VERT_P
  19. #define QUAD_N VERT_N
  20. #define QUAD_C VERT_C
  21. #define QUAD_4D VERT_4D
  22. #define QUAD_BINARY 0x8
  23.  
  24. typedef HPoint3 QuadP[4];
  25. typedef Point3 QuadN[4];
  26. typedef ColorA QuadC[4];
  27.  
  28. struct Quad {
  29.     GEOMFIELDS
  30.     int     flag;
  31.     int        seq;         /* for 4D -> 3D tforms */
  32.     int     maxquad;
  33.     QuadP     *p;
  34.     QuadN     *n;
  35.     QuadC     *c;
  36. };
  37.  
  38. Quad *QuadPick( Quad *, Pick *, Appearance *, Transform );
  39.  
  40. #endif /* ! QUADPDEFS */
  41.